import {axios} from '@/utils/request'

export function queryCardRecord (parameter) {
  return axios({
    url: '/cardRecord/query',
    method: 'post',
    data: parameter
  })
}

export function queryCardRecord4Bike (parameter) {
  return axios({
    url: '/cardRecord/query4Bike',
    method: 'post',
    data: parameter
  })
}

export function addCardRecord (parameter) {
  return axios({
    url: '/cardRecord/add',
    method: 'post',
    data: parameter
  })
}

export function editCardRecord (parameter) {
  return axios({
    url: '/cardRecord/update',
    method: 'post',
    data: parameter
  })
}

export function removeCardRecord (parameter) {
  return axios({
    url: '/cardRecord/remove',
    method: 'post',
    data: parameter
  })
}

